<div class="editar_medico">

  <div class="titulo">
    Editar Foto
  </div>

  <%= form_tag "atualizar_foto", {:multipart => true } do %>
    <%= hidden_field :medico, :id %>

    <table class="table_dados">
      <tbody>
          <tr>
            <td class="table_label">
              <label>Foto: </label>
            </td>
            <td class="table_conteudo">
              <%= file_field_tag :foto, :accept => 'image/png, image/jpeg' %>
              <span id="noiconid_foto" class="noicon" style="display:none"></span>
            </td>
          </tr>
      </tbody>
    </table>

    <div class="button">
      <%= submit_tag 'ENVIAR', :onclick => "loading()" %>
    </div>  
  <% end %>

</div>
